import * as types from '@/redux/constant'

export const setCurrentRouteKey = (data: string) => ({
	type: types.SET_CURRENT_OUTER_KEY,
	data
});

export const setCrumbList= (data: []) => ({
    type: types.SET_CRUMB_LIST,
    data
});

export const setCollapse = (data: boolean) => ({
     type: types.SET_COLLAPSE,
     data
 });

 export const setAllRouter = (data: []) => ({
       type: types.SET_ALL_ROUTER,
       data
   });
